﻿<UserControl x:Class="Wilke.Interactive.Drone.PlayGround.UserControls.PieMenu"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:controls="clr-namespace:Wilke.Interactive.Drone.PlayGround.Controls"
             mc:Ignorable="d" 
             d:DesignHeight="203" d:DesignWidth="407">
    <StackPanel>
        <controls:PieMenu  x:Name="pieMenuControl"
                           HorizontalAlignment="Center" 
                           VerticalAlignment="Center" 
                           Width="360" 
                           Height="180"
                           Opacity=".8"
                           ClippingRadius="50" 
                           SegmentClicked="PieMenu_SegmentClicked">
            <controls:PieMenu.BitmapEffect>
                <DropShadowBitmapEffect Opacity="0.5" />
            </controls:PieMenu.BitmapEffect>
            <controls:PieSegment Source="/Items/StandBy.png" DefaultImage="/Items/StandBy.png" SelectedImage="/Items/StandBy.png" Width="70" Height="70"/>
            <controls:PieSegment Source="/Items/GoFullScreen.png" DefaultImage="/Items/GoFullScreen.png" SelectedImage="/Items/ReturnFullScreen.png" Width="75" Height="75"/>
            <controls:PieSegment Source="/Items/Connect.png" DefaultImage="/Items/Connect.png" SelectedImage="/Items/Deconnect.png" Width="90" Height="90"/>
        </controls:PieMenu>
    </StackPanel>
</UserControl>
